.publishPage {
  min-height: 100vh;
  background-color: #f8f9fa;
  padding: 0;
  margin: 0;
  width: 100vw;
  box-sizing: border-box;
}

.formContainer {
  padding: 20px 16px 80px;
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
  background: #fff;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

@media only screen and (min-width: 600px) {
  .formContainer {
    padding: 32px;
    margin: 24px auto;
  }
}

@media only screen and (min-width: 992px) {
  .formContainer {
    padding: 40px;
    margin: 32px auto;
  }
}

.errorText {
  color: #ff4d4f;
  font-size: 13px;
  margin-top: 4px;
}

/* 表单项样式 */
.formItem {
  margin-bottom: 24px;
}

.formLabel {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 8px;
}

/* 上传区域样式 */
.uploadArea {
  margin: 16px 0;
}

.uploadTitle {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.uploadDescription {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

/* 上传按钮样式 */
.uploaderButton {
  width: 100%;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fafafa;
  border: 2px dashed #e6e6e6;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.uploaderButton:hover {
  border-color: #1677ff;
  background-color: #f0f7ff;
}

.uploaderButton span {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
}

.uploaderIcon {
  font-size: 32px;
  color: #1677ff;
}

/* 图片预览网格 */
.imageGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

/* 视频预览区域 */
.videoPreview {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0;
  background: #000;
}

.videoPlayer {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.removeVideoBtn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.removeVideoBtn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* 提交按钮容器 */
.submitButtonContainer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.submitButton {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  height: 44px;
  border-radius: 22px;
  font-size: 16px;
  font-weight: 500;
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.submitButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.2);
}

.submitButton:active {
  transform: translateY(0);
}

/* 导航栏样式 */
.navBar {
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navBarTitle {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
}